package com.lanqiao.attendance.service;

import com.lanqiao.attendance.pojo.Course;
import com.lanqiao.attendance.vo.CourseByStuVo;
import com.lanqiao.attendance.vo.CourseVo;
import com.lanqiao.attendance.vo.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseService {
    Result queryById(Long id);

    Result query();
    Result insertBySchedule(CourseVo courseVo);

    Result queryByCourseNum(String num);

    Result insert(Course course);

    Result delete(Long id);

    Result update(Course course);

    Result querySchedule(Long id);

    List<CourseByStuVo> queryCourseStu(String stuAccount);

    List<CourseByStuVo> queryCourseStuByTitle(String stuAccount, String couTitle);

    Result queryCourseDetail(String couNumber);


}
